package com.jurenzhao.partssystem.system.system_user.service;

import com.jurenzhao.partssystem.system.system_user.dao.System_UsersMapper;
import com.jurenzhao.partssystem.system.system_user.entity.System_Users;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class System_UserService {
    @Resource()
    private System_UsersMapper system_usersMapper;
    public System_Users login(String user_no, String user_pass) {
        return system_usersMapper.login(user_no,user_pass);
    }

    public System_Users findByNo(String user_no) {
        return system_usersMapper.findByNo(user_no);
    }
}
